import request from "@/utils/request";

export function saveReceptions(data) {
  return request({
    url: "/sinohis/pension/profession/reception",
    method: "post",
    data
  });
}

export function searchReceptionsOfPage(params) {
  return request({
    url: "/sinohis/pension/profession/reception/page",
    method: "get",
    params
  });
}

export function searchReceptionDetail(recordCode) {
  return request({
    url: "/sinohis/pension/profession/reception/detail/"+recordCode,
    method: "get"
  });
}

export function closeRecord(recordCode) {
  return request({
    url: "/sinohis/pension/profession/reception/"+recordCode,
    method: "put"
  });
}

//接待咨询打印

export function outregistration(params) {
  return request({
    url: "/sinohis/pension/profession/reception/print",
    method: "get",
    params
  });
}
